//== 流程示例-详情页
let sampleWorkFlowInfo = function () {
    /**
     * 翻译字典
     */
    let translateSysDict = function () {
        $('.sys-dict-static').each(function () {
            let $element = $(this);
            $element.html(ETool.getSysDictObjectByQuery($element.data('dict-type'), $element.data('value')).name);
        });
    }

    return {
        //== 初始化页面
        init: function () {
            translateSysDict();
            EWorkFlow.updateDetailsPageLayout();
        }
    };
}();
//== 初始化
$(document).ready(function () {
    sampleWorkFlowInfo.init();
});